package com.woniuxy.community_life.dto;

import com.woniuxy.community_life.pojo.Account;
import com.woniuxy.community_life.pojo.Comment;
import com.woniuxy.community_life.pojo.Dynamic;
import com.woniuxy.community_life.pojo.DynamicImage;

import java.io.Serializable;
import java.util.List;

public class CommentDto implements Serializable {
    private Dynamic message;
    private Account account;
    private List<Account> accountReply;
    private List<Account> accountFatherReply;
    private List<Account> accountLike;
    private List<DynamicImage> dynamicImages;
    private List<Comment> comments;

    public Dynamic getMessage() {
        return message;
    }

    public void setMessage(Dynamic message) {
        this.message = message;
    }

    public Account getAccount() {
        return account;
    }

    public void setAccount(Account account) {
        this.account = account;
    }

    public List<Account> getAccountReply() {
        return accountReply;
    }

    public void setAccountReply(List<Account> accountReply) {
        this.accountReply = accountReply;
    }

    public List<Account> getAccountFatherReply() {
        return accountFatherReply;
    }

    public void setAccountFatherReply(List<Account> accountFatherReply) {
        this.accountFatherReply = accountFatherReply;
    }

    public List<Account> getAccountLike() {
        return accountLike;
    }

    public void setAccountLike(List<Account> accountLike) {
        this.accountLike = accountLike;
    }

    public List<DynamicImage> getDynamicImages() {
        return dynamicImages;
    }

    public void setDynamicImages(List<DynamicImage> dynamicImages) {
        this.dynamicImages = dynamicImages;
    }

    public List<Comment> getComments() {
        return comments;
    }

    public void setComments(List<Comment> comments) {
        this.comments = comments;
    }

    public CommentDto(Dynamic message, Account account, List<Account> accountReply, List<Account> accountFatherReply, List<Account> accountLike, List<DynamicImage> dynamicImages, List<Comment> comments) {
        this.message = message;
        this.account = account;
        this.accountReply = accountReply;
        this.accountFatherReply = accountFatherReply;
        this.accountLike = accountLike;
        this.dynamicImages = dynamicImages;
        this.comments = comments;
    }

    public CommentDto() {
    }
}
